<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

require_once "categoriaDAO.php";

class CategoriaBO{

    private $categoriaDAO;

    function CategoriaBO() {
        $this->categoriaDAO = new CategoriaDAO();
    }

    public function listCategoria(){
        return $this->categoriaDAO->Lista();
    }

    public function getCategoriaDAO() {
        return $this->categoriaDAO;
    }

    public function setCategoriaDAO($categoriaDAO) {
        $this->categoriaDAO = $categoriaDAO;
    }

}
?>